#include "billlistview.h"

BillListView::BillListView(QWidget *parent)
    : QListView{parent}
{
    m_delegate = new BillListDelegate;
    setItemDelegate(m_delegate);

    m_model = new BillListModel;
    setModel(m_model);
}

void BillListDelegate::paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const {

};

QSize BillListDelegate::sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const {

}

int BillListModel::rowCount(const QModelIndex& parent) const {

}

QVariant BillListModel::data(const QModelIndex& index, int role) const {

}
